package org.example.software.service;

import org.example.software.entity.Paint;

import java.util.List;

public interface PaintService {
    // 添加漆
    public boolean addPaint(Paint paint);

    // 删除漆
    public boolean deletePaintById(int id);

    // 更新漆信息
    public boolean updatePaint(Paint paint);

    // 根据 ID 查询漆
    public List<Paint> getPaintById(int id);

    // 根据 制造商 查询漆
    public List<Paint> getPaintByName(String manufacturerName);

    // 根据 颜色 查询漆
    public List<Paint> getPaintByColor(String color);

    // 根据 容量 查询漆
    public List<Paint> getPaintByCapacity(String capacity);

    // 查询所有漆
    public List<Paint> getAllPaints();
}
